#!/usr/bin/python
# -*- coding: utf-8 -*-


import requests
from requests.auth import HTTPBasicAuth
import json

r=requests.post('http://api.openluat.com/iot/cell_location',
             json={
                "cell": [   # 穿一组就是单基站查询，多组就是多基站查询
                    {
                        'mcc': 460,
                        'mnc': 0,
                        'lac': 25303,
                        'ci' : 23444,
                        'rssi': -51
                    },
                ]
             },
             auth=HTTPBasicAuth('appkey', 'appsecret')
)

msg = r.content

print(json.loads(msg))